package com.zixuan.sina.service;

import com.zixuan.sina.entity.Topic;
import com.zixuan.sina.entity.User;
import com.zixuan.sina.utils.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lemon
 * @since 2023-10-12
 */
public interface TopicService {
    List<Topic> getTopicsByPostId(String postId);

    Result listTopic(Topic topic);

    void addPostTopic(String postId, List<Long> topicIds);
}
